object ScoreErrorDemo {
 def main(args:Array[String]):Unit={
   val  studentName: String ="李四"
   val math: Int = 85
   val chinese: Int = 58
   val english: Int = 72
   val total: Int = math + chinese + english
   val avg:Double = total.toDouble/3
   val isPass:Boolean = (math >= 60)||(chinese >= 60)||(english >= 60)
   println(s"studentName总分：total平均分：${"%.1f".format(avg)}分，是否及格：isPass")
 }
}
